package com.zhaowenhao.hello.spring.framework.beans;

/**
 * @Description:
 * @Author: zwh
 * @Date: 2020-08-02
 * @Time: 21:09
 */
public class WHBeanWrapper {
    //实例
    private Object wrappedInstance;

    //类型
    private Class<?> wrappedClass;

    public WHBeanWrapper(Object wrappedInstance) {
        this.wrappedInstance = wrappedInstance;
        this.wrappedClass = wrappedInstance.getClass();
    }

    public Object getWrappedInstance() {
        return wrappedInstance;
    }

    public void setWrappedInstance(Object wrappedInstance) {
        this.wrappedInstance = wrappedInstance;
    }

    public Class<?> getWrappedClass() {
        return wrappedClass;
    }

    public void setWrappedClass(Class<?> wrappedClass) {
        this.wrappedClass = wrappedClass;
    }
}
